import req from '@/utils/request';

//管理员管理列表
export const adminList = (params) => req.post('/admin/list', params);

//管理员管理 管理员添加
export const adminAdd = (params) => req.post('/admin/add', params);

//管理员列表删除
export const adminDel = (params) => req.post('/admin/del', params);

//管理员列表编辑
export const adminEdit = (params) => req.post('/admin/edit', params);

//管理员管理-部门添加
export const adminDepartment = (params) => req.post('/admin/department', params);

//管理员日志
export const logsOp = (params) => req.post('/logs/op', params);

//支付设置-支付方式
export const rechargePaymentMethod = (params) => req.post('/recharge/paymentMethod', params);

//支付设置-提现方式
export const rechargeWithdrawalMethod = (params) => req.post('/recharge/withdrawalMethod', params);

//支付设置-汇率调整
export const rechargeModify = (params) => req.post('/recharge/modify', params);

//支付设置-信息回填
export const rechargeBack = (params) => req.post('/recharge/back', params);


//充值、提现、计费时长配置项列表
export const globalsetRechargeDemoList = (params) => req.post('/globalset/rechargeDemoList', params);

//添加、编辑充值档位
export const globalsetAddRechargeDemo = (params) => req.post('/globalset/addRechargeDemo', params);

//添加、编辑提现档位
export const globalsetAddWithdrawDemo = (params) => req.post('/globalset/addWithdrawDemo', params);

//添加、编辑计费时长档位
export const globalsetAddTimeDemo = (params) => req.post('/globalset/addTimeDemo', params);

//删除档位配置
export const globalsetDel = (params) => req.post('/globalset/del', params);

//档位操作日志
export const globalsetLog = (params) => req.post('/globalset/log', params);

//操作日志
export const SystemLog = (params) => req.post('/system/log', params);

//助手列表
export const systemAssistantList = (params) => req.post('/system/AssistantList', params);

//助手添加编辑 
export const systemAssistantEdit = (params) => req.post('/system/AssistantEdit', params);

//删除助手
export const systemAssistantDel = (params) => req.post('/system/AssistantDel', params);

//系统白名单
export const systemWhiteList = (params) => req.post('/system/whiteList', params);

//以下有用
//系统白名单编辑
export const systemWhiteListEdit = (params) => req.post('/system/whiteListEdit', params);

//系统配置列表
export const configQueryList = (params) => req.post('/config/queryList', params);

//新增单个配置
export const configSetConfig = (params) => req.post('/config/setConfig', params);

//单个配置
export const configQueryOne = (params) => req.post('/config/queryOne', params);

//删除配置
export const configDelete = (params) => req.post('/config/delete', params);
